home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / b026.dir / 00066.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  673 b   |  26 lines

  1. on mouseDown
  2.   global gQuestion, gCurrentNumber
  3.   if gQuestion then
  4.     puppetSprite(18, 1)
  5.     puppetSound("MouseDown.aif")
  6.     repeat while the mouseDown
  7.       if rollOver(17) then
  8.         set the castNum of sprite 18 to cast "b057n"
  9.       else
  10.         set the castNum of sprite 18 to cast "b058n"
  11.       end if
  12.       updateStage()
  13.     end repeat
  14.     if rollOver(17) then
  15.       set the castNum of sprite 18 to cast "b057n"
  16.       set myText to "geo.a" & gCurrentNumber
  17.       set the castNum of sprite 11 to cast myText
  18.       updateStage()
  19.       set gQuestion to 0
  20.     else
  21.       set the castNum of sprite 18 to cast "b058n"
  22.       set gQuestion to 1
  23.     end if
  24.   end if
  25. end
  26.